﻿@{
    ViewBag.Title = "进口计划服务评价";
}

@section PSI_JS {
    <script src="@Url.Content("~/Scripts/PSI/App.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PSI/InPlan/EvaluateService.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/PSI/BaseCode/LookupEditor.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/BaseCode/DispatcherField.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/BaseCode/AddressField.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/PSI/Truck/TruckCompanyField.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/Truck/TruckNumberField.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="~/Scripts/PSI/InPlan/TraceComments.js"></script>
<script src="@Url.Content("~/Scripts/PSI/InPlan/MainForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/InPlan/MakePlanForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/InPlan/ChangeDispatcherForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/InPlan/SendTruckForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/PSI/InPlan/TraceForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
 }

<script type="text/javascript">
    Ext.onReady(function () {
        var app = Ext.create("PSI.App", {
            userName: "@ViewBag.UserName"
        });

        app.createMainUI();

        var mp = app.getMainPanel();

        var mainForm = Ext.create("PSI.InPlan.EvaluateService");
        mainForm.createUI();

        mp.add(mainForm.getMainPanel());
    });
</script>
